.singlePictureUploadWrap {
    display: block;
}
.singlePictureUpload {
    position: relative;
    width: 252px;
    height: 160px;
    line-height: 160px;
    border-radius: 2px;
    // overflow: hidden;
    // border: 1px dashed #b9d8e4;
}
.spuUploaded {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 2px;
    border: 1px dashed #b9d8e4;
    // text-align: center;
    // display: table-cell;
    img {
        display: block;
        position: absolute;
        left: 50%;
        top: 50%;
        max-width: 100%;
        max-height: 100%;
        transform: translate(-50%, -50%);
    }
    &:hover {
        border-color: #1890ff;
        &:before {
            width: 100%;
            height: 100%;
            background-color: rgba(42, 42, 42, .1);
        }
    }
    &:before {
        content: ' ';
        z-index: 1;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        transition: background .3s;
    }
}
.spuUploadedOperation {
    z-index: 10;
    position: absolute;
    left: 50%;
    top: 50%;
    line-height: 1;
    white-space: nowrap;
    transform: translate(-50%, -50%);
}

.btnImagePreview {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: no-repeat center url("./image/zoom.png");
    background-size: contain;
    margin: 0 10px;
}
.btnImageDelete {
    @extend .btnImagePreview;
    background: no-repeat center url("./image/delete.png");
}
.btnImageDownload {
    @extend .btnImagePreview;
    background: no-repeat center url("./image/download.png");
}

.spuUploader {
    position: relative;
    width: 100%;
    height: 100%;
    :global(.ant-upload.ant-upload-select-picture-card) {
        width: 252px;
        height: 160px;
    }
}
.btnImageUpload {
    padding-top: 40px;
    background: no-repeat center top url("./image/upload.png");
    background-size: 40px auto;
}

.spuErrMsg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 30px;
    background-color: #ff6f60;
    font-size: 12px;
    text-align: center;
    color: #fff;
}
.spuDescribe, .desc {
    font-size: 12px;
    color: #8198a0;
}

.imgUploadGroup {
    position: relative;
    // white-space: nowrap;
    .singlePictureUploadWrap {
        display: inline-block;
        vertical-align: top;
        &:nth-child(n + 2) {
            margin-left: 10px;
        }
    }
}


// 文件上传
.fileUploadOperationBox {
    position: relative;
    .fileUploadDesc {
        margin-left: 10px;
        font-size: 12px;
        color: #a1b1be;
    }
    .fileUploadErr {
        font-size: 14px;
        line-height: 1.5;
        color: #f5222d;
    }
}
.uploadedFileList {
    position: relative;
    max-width: 400px;
    .uploadedFile {
        position: relative;
        line-height: 28px;
        padding-right: 40px;
        font-size: 12px;
        color: #5b626f;
        .uploadedFileName {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            a {
                color: inherit;
                text-decoration: none;
                &:hover {
                    color: #1890ff;
                }
            }
            i {
                margin-right:5px;
            }
        }
        .btnDeleteUploadedFile {
            position: absolute;
            top: 0;
            right: 0;
            display: block;
            width: 40px;
            text-align: right;
            color: #1890ff;
        }
    }
}